<html>
    <br />
    Admin: <a href="/admin">Setup</a> | <a href="/admin/match">Matching</a><br />
    <br />

    <br />
    Add: <a href="/admin/addInstructor">Instructor</a> | <a href="/admin/addCourse">Course</a> | <a href="/admin/addSpecialization">Specialization</a> | <a href="/admin/addMajor">Major</a> | <a href="/admin/addPL">Programming Language</a>  | <a href="/admin/addTa">TA</a><br />
    <br />
    <b> Sections for Semester: {{currentSemester}} </b>
    <body>
        <form action="/admin/addSection" method="post">
        <table ID="classesTable" border="1">
            <tr ><th>Course Name</th><th>Unique Number</th><th>Instructor</th><th>Number of Students</th><th>Number of TAs</th><td align="center"></td></tr>
            {% for entry in sections %}
                <tr><td>{{entry.name}}</td><td name = "unique" >{{entry.number}}<td>{{entry.instructor}}</td><td>{{entry.numStudents}}</td><td>{{entry.numTas}}</td><td><input type="submit" name = "remove{{entry.number}}" onClick="this.form.action = /admin" value="Remove Class"></td></tr>
            {% endfor %}
            <tr ><td>{{badCourse}} </td><td><input type= "text" name = "uniqueNumber" value="{{badUnique}}" rows= "1"/></td><td>{{badInstructor}}</td><td><input type= "text" name = "numStudents" value="{{badNumStudents}}" rows= "1"/></td><td><input type= "text" name = "numTas" value="{{badNumTas}}" rows= "1"/></td></tr>
        </table>
        <input type="submit" name = "submit" class= "button" onClick="classSave" value="Add Section">
        <br />

        </form>

    </body>
</html>

<SCRIPT TYPE="text/javascript">
function verify() { return confirm("Are you sure? This action cannot be undone.") }
</SCRIPT>


    </body>
</html>
